﻿using System;
using ServiceStack.DataAnnotations;

namespace Fetches.Process.Pipelines.Models
{
    public class ChapterInfo
    {
        [PrimaryKey]
        [AutoIncrement]
        public int Id { get; set; }
        public int BookId { get; set; }

        public int ChapterId { get; set; }
        public int NextChapterId { get; set; }
        public int PreviousChapterId { get; set; }
        public string ChapterName { get; set; }
        public DateTime UpdateTime { get; set; }

        [StringLength(StringLengthAttribute.MaxText)]
        public string Content { get; set; }
    }
}
